package com.ctshk.rpc.order.tour.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 行程是否存在 req
 */
@Data
@ApiModel(value = "TripIsExistReq",description = "TripIsExistReq")
public class TripIsExistReq implements Serializable {

    @NotNull(message = "渠道id不能为空")
    @ApiModelProperty(value = "渠道id",required = true)
    private Long channelId;

    @NotNull(message = "行程id不能为空")
    @ApiModelProperty(value = "行程id",required = true)
    private Long tripId;

}
